#ifndef _GATHER_DATA_HANDLER_H
#define _GATHER_DATA_HANDLER_H
#include "stm32f10x.h"
#include "system.h"
#include "FreeRTOS.h"
#include "task.h"
// 采集的原始数据
typedef struct GatherData{
	u8 temp;
	u8 humi;
	u16 smoke;
	u16 sunshine;
	u8 raidrop;
} GatherData;

// 处理后的数据
typedef struct GatherTargetData{
	u8 temp;
	u8 humi;
	u16 smoke;
	u16 sunshine;
	u8 raidrop;
} GatherTargetData;

// 处理原始数据
void dataHandle(const GatherData* source);

#endif